package service

import (
	"activity/internal/biz"
	"context"

	pb "activity/api/activity/v1"
)

type ActivityServerService struct {
	pb.UnimplementedActivityServerServer

	uc *biz.ActivityBiz
}

func NewActivityServerService(uc *biz.ActivityBiz) *ActivityServerService {
	return &ActivityServerService{
		uc: uc,
	}
}

func (s *ActivityServerService) GetStu(ctx context.Context, req *pb.GetStuRequest) (*pb.GetStuReply, error) {
	return s.uc.GetStudent(ctx, req)
}
